package com.quartet.modules.order.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.quartet.modules.order.dao.TOrderDao;
import com.quartet.modules.order.entity.TOrder;
import com.quartet.modules.order.service.TOrderService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 订单表(TOrder)表服务实现类
 *
 * @author makejava
 * @since 2021-05-04 16:40:23
 */
@Service("tOrderService")
public class TOrderServiceImpl extends ServiceImpl<TOrderDao, TOrder> implements TOrderService {

    /**
     *  查询15天后过期的订单
     * @return
     */
    @Override
    public List<TOrder> queryFifteenExpire() {
        return this.baseMapper.queryFifteenExpire();
    }
}
